/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Enemy;

import Game.Game;
import Character.Character;
import Util.Entity;
import Util.Sprite;
import Util.SpriteStore;
import Obstacle.Obstacle;
/**
 *
 * @author Oscar Eliasson
 */
public class Enemy extends Entity {

    private double moveSpeed = 50;
    private Game game;
    private Character Character;

public Enemy(Game game, int y, int x, Enemy Enemy){
            super("Sprites/Enemy1.png", x, y);
            this.game = game;
            dx = -moveSpeed;
            dy = -moveSpeed;
}


    @Override
public void move(long delta) {
    walk();
    super.move(delta);
    }

public void walk(){
  //  if(collidedWith() = false){
        dx = moveSpeed;
   // } else if(collidedWith = true){
       // gameover();                 // Behöver metod gameover i game lr annanstans.
    //}


}

    public void collidedWith(Entity e) {
        
    }
}
